<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class SwtPledgesRule extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'swt_pledges_rule';

    public function pledge()
    {
        return $this -> belongsTo(SwtPledge::class, 'pledge_id');
    }

}
